#ifndef __HCSR04_2_H
#define __HCSR04_2_H
#include "stm32f10x.h"   // Device header
#include "OLED.h"                  // Device header
#include "Delay.h"


#define Trig_Port_2 		GPIOB
#define Trig_Pin_2 		GPIO_Pin_0
#define Trig_RCC_2		RCC_APB2Periph_GPIOB

#define Echo_Port_2 		GPIOB
#define Echo_Pin_2 		GPIO_Pin_1
#define Echo_RCC_2		RCC_APB2Periph_GPIOB
void Tim3_Init(void);
void HCSR04_2_Init(void);
void HCSR04_2_Start(void);
uint32_t Get_Echo_Time_2(void);
uint32_t  Ultrasonic_CalculateDistance_2(uint32_t time);
uint32_t  Ultrasonic_GetDistance_2(void);



#endif 
